#include <vector>
#include "../Utilities/utilities.h"
#include "Defines.h"
#include "cModel.h"
#include "cTexture.h"
#include "cShader.h"
#include "cCamera.h"
using namespace std;
class cObject
{
public:
	cObject(){};
	virtual ~cObject()
	{
		SAFE_DEL(Model);
		SAFE_DEL(Shader);
	}

	void cObject::SetObject(GLuint id_object, char* url_object, char* url_vShader, char* url_fShader,  vector<char*> url_texture, Matrix ModelObject);
	void Draw();

private:
	GLuint objID;
	GLuint objProgram;
	cModel *Model;
	cShader *Shader;
	vector<GLuint> objTextureID;
	Matrix ma_Model, ma_MVP;

	//first position
	Vector3 m_vPos;
	Vector3 m_vRot;
	Vector3 m_vScale;
	
};